import request from '@/utils/request'

// 查询poct 检测处理列表
export function listDetectionHandle(query) {
  return request({
    url: '/system/detectionHandle/list',
    method: 'post',
    data: query
  })
}

// 查询poct 检测处理详细
export function getDetectionHandle(id) {
  return request({
    url: '/system/detectionHandle/' + id,
    method: 'get'
  })
}

// 新增poct 检测处理
export function addDetectionHandle(data) {
  return request({
    url: '/system/detectionHandle',
    method: 'post',
    data: data
  })
}

// 修改poct 检测处理
export function updateDetectionHandle(data) {
  return request({
    url: '/system/detectionHandle',
    method: 'put',
    data: data
  })
}

// 删除poct 检测处理
export function delDetectionHandle(id) {
  return request({
    url: '/system/detectionHandle/' + id,
    method: 'delete'
  })
}
